package com.cjq.constant;

/**
 * @author CuiJQ
 * @date 2025/2/26 17:13
 */
public class Constant {
    // Netty 主从线程组配置
    public static final int BOSS_GROUP_SIZE = 1;
    public static final int WORKER_GROUP_SIZE = Runtime.getRuntime().availableProcessors() * 2;

    // 连接池配置
    public static final int MAX_CONNECTION_POOL_SIZE = 500;
    public static final int CONNECTION_TIMEOUT_MS = 3000;
}
